package hos.java.color;

import java.util.Map;

/**
 * <p>Title: MaterialColor </p>
 * <p>Description:  </p>
 * <p>Company: www.mapuni.com </p>
 *
 * @author : 蔡俊峰
 * @version : 1.0
 * @date : 2023/3/28 20:16
 */
public class MaterialColor extends ColorSwatch<Integer> {
    public MaterialColor(int primary, Map<Integer, Integer> swatch) {
        super(primary, swatch);
    }

    /// The lightest shade.
    public int shade50() {
        return get(50);
    }

    /// The second lightest shade.
    public int shade100() {
        return get(100);
    }

    /// The third lightest shade.
    public int shade200() {
        return get(200);
    }

    /// The fourth lightest shade.
    public int shade300() {
        return get(300);
    }

    /// The fifth lightest shade.
    public int shade400() {
        return get(400);
    }

    /// The default shade.
    public int shade500() {
        return get(500);
    }

    /// The fourth darkest shade.
    public int shade600() {
        return get(600);
    }

    /// The third darkest shade.
    public int shade700() {
        return get(700);
    }

    /// The second darkest shade.
    public int shade800() {
        return get(800);
    }

    /// The darkest shade.
    public int shade900() {
        return get(900);
    }
}
